package com.thb.pay.payment.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * <p>
 * 银行卡Bin-信息表 <p>校验卡信息规则是否合理
 *     卡bin 大全：https://blog.csdn.net/cbacq/article/details/51495646
 * </p>
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("bank_card_bin")
public class BankCardBin extends SuperEntity<BankCardBin> {

    public static final String TABLE_NAME = "bank_card_bin";

    private static final long serialVersionUID = 1L;


    /**
     * BIN号
     */
    private String binCode;

    /**
     * 银行机构代码
     */
    private String code;

    /**
     * 银行名称
     */
    private String name;

    /**
     * 银行卡卡种ID
     */
    private Long cardTypeId;

    /**
     * 卡号长度
     */
    private Integer cardLength;

}
